/*
 *  plant.cpp
 */

#include "bomb.h"
#include "direction.h"
#include "plant.h"
#include "object.h"

Plant::Plant(int objectID, int life, Direction& dir, int frequency)
            : Object(objectID)
{
    this->life = life;
    this->dir = dir;
    this->frequency;
}

Plant::~Plant() {}

void Plant::attack() {}

void Plant::doAction() {}

void Plant::makeBomb()
{
    if (bomb != NULL) {
        //bomb = new Bomb();
        // wait
    }
}

bool Plant::isSolid()
{
    return true;
}

bool Plant::isDestroyable()
{
    return false;
}

void Plant::destroy() {}

//{+}

